package com.genersoft.iot.vmp.gb28181.bean;


import java.sql.Time;

public class Device {

	/**
	 * 设备Id
	 */
	private String deviceId;

	/**
	 * 设备名
	 */
	private String name;
	
	/**
	 * 生产厂商
	 */
	private String manufacturer;
	
	/**
	 * 型号
	 */
	private String model;
	
	/**
	 * 固件版本
	 */
	private String firmware;

	/**
	 * 传输协议
	 * UDP/TCP
	 */
	private String transport;

	/**
	 * 数据流传输模式
	 * UDP:udp传输
	 * TCP-ACTIVE：tcp主动模式
	 * TCP-PASSIVE：tcp被动模式
	 */
	private String streamMode;

	/**
	 * wan地址_ip
	 */
	private String  ip;

	/**
	 * wan地址_port
	 */
	private Integer port;

	/**
	 * wan地址
	 */
	private String  hostAddress;
	
	/**
	 * 在线
	 */
	private Integer online;


	/**
	 * 注册时间
	 */
	private String registerTime;


	/**
	 * 心跳时间
	 */
	private String keepaliveTime;

	/**
	 * 通道个数
	 */
	private Integer channelCount;

	/**
	 * 注册有效期
	 */
	private Integer expires;

	/**
	 * 创建时间
	 */
	private String createTime;

	/**
	 * 更新时间
	 */
	private String updateTime;

	/**
	 * 设备使用的媒体id, 默认为null
	 */
	private String mediaServerId;

	/**
	 * 首次注册
	 */
	private boolean firsRegister;

	/**
	 * 字符集, 支持 utf-8 与 gb2312
	 */
	private String charset ;

	/**
	 * 私钥
	 */
	private String privateKey;

	/**
	 * 定时布撤防开关
	 */
	private Integer timerFlag;
	/**
	 * 布防时间 HH
	 */
	private Integer guardTime;
	/**
	 * 撤防时间 HH
	 */
	private Integer resetGuardTime;
	/**
	 * 布撤防状态
	 */
	private Integer guardStatus;
	/**
	 * 音量
	 */
	private Integer volume;
	/**
	 * 警戒区域开关
	 */
	private Integer alarmFlag;
	/**
	 * 警戒区域左上角坐标 X,Y
	 */
	private String topLeft;
	/**
	 * 警戒区域右下角坐标 X,Y
	 */
	private String bottomRight;

	/**
	 * 坐标数量
	 */
	private Integer pointCount;
	/**
	 * 坐标1
	 */
	private String point1;
	/**
	 * 坐标2
	 */
	private String point2;
	/**
	 * 坐标3
	 */
	private String point3;
	/**
	 * 坐标4
	 */
	private String point4;
	/**
	 * 坐标5
	 */
	private String point5;

	/**
	 * 灵敏度
	 */
	private String sensitivity;

	/**
	 * 升级状态   0 失败 1 成功  2升级中
	 */
	private Integer upgradeStatus;


	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getFirmware() {
		return firmware;
	}

	public void setFirmware(String firmware) {
		this.firmware = firmware;
	}

	public String getTransport() {
		return transport;
	}

	public void setTransport(String transport) {
		this.transport = transport;
	}

	public String getStreamMode() {
		return streamMode;
	}

	public void setStreamMode(String streamMode) {
		this.streamMode = streamMode;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getHostAddress() {
		return hostAddress;
	}

	public void setHostAddress(String hostAddress) {
		this.hostAddress = hostAddress;
	}

	public Integer getOnline() {
		return online;
	}

	public void setOnline(Integer online) {
		this.online = online;
	}

	public Integer getChannelCount() {
		return channelCount;
	}

	public void setChannelCount(Integer channelCount) {
		this.channelCount = channelCount;
	}

	public String getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(String registerTime) {
		this.registerTime = registerTime;
	}

	public String getKeepaliveTime() {
		return keepaliveTime;
	}

	public void setKeepaliveTime(String keepaliveTime) {
		this.keepaliveTime = keepaliveTime;
	}

	public Integer getExpires() {
		return expires;
	}

	public void setExpires(Integer expires) {
		this.expires = expires;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getMediaServerId() {
		return mediaServerId;
	}

	public void setMediaServerId(String mediaServerId) {
		this.mediaServerId = mediaServerId;
	}

	public boolean isFirsRegister() {
		return firsRegister;
	}

	public void setFirsRegister(boolean firsRegister) {
		this.firsRegister = firsRegister;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public Integer getTimerFlag() {
		return timerFlag;
	}

	public void setTimerFlag(Integer timerFlag) {
		this.timerFlag = timerFlag;
	}

	public Integer getGuardTime() {
		return guardTime;
	}

	public void setGuardTime(Integer guardTime) {
		this.guardTime = guardTime;
	}

	public Integer getResetGuardTime() {
		return resetGuardTime;
	}

	public void setResetGuardTime(Integer resetGuardTime) {
		this.resetGuardTime = resetGuardTime;
	}

	public Integer getGuardStatus() {
		return guardStatus;
	}

	public void setGuardStatus(Integer guardStatus) {
		this.guardStatus = guardStatus;
	}

	public Integer getVolume() {
		return volume;
	}

	public void setVolume(Integer volume) {
		this.volume = volume;
	}

	public Integer getAlarmFlag() {
		return alarmFlag;
	}

	public void setAlarmFlag(Integer alarmFlag) {
		this.alarmFlag = alarmFlag;
	}

	public String getTopLeft() {
		return topLeft;
	}

	public void setTopLeft(String topLeft) {
		this.topLeft = topLeft;
	}

	public String getBottomRight() {
		return bottomRight;
	}

	public void setBottomRight(String bottomRight) {
		this.bottomRight = bottomRight;
	}

	public String getSensitivity() {
		return sensitivity;
	}

	public void setSensitivity(String sensitivity) {
		this.sensitivity = sensitivity;
	}

	public Integer getPointCount() {
		return pointCount;
	}

	public void setPointCount(Integer pointCount) {
		this.pointCount = pointCount;
	}

	public String getPoint1() {
		return point1;
	}

	public void setPoint1(String point1) {
		this.point1 = point1;
	}

	public String getPoint2() {
		return point2;
	}

	public void setPoint2(String point2) {
		this.point2 = point2;
	}

	public String getPoint3() {
		return point3;
	}

	public void setPoint3(String point3) {
		this.point3 = point3;
	}

	public String getPoint4() {
		return point4;
	}

	public void setPoint4(String point4) {
		this.point4 = point4;
	}

	public String getPoint5() {
		return point5;
	}

	public void setPoint5(String point5) {
		this.point5 = point5;
	}

	public Integer getUpgradeStatus() {
		return upgradeStatus;
	}

	public void setUpgradeStatus(Integer upgradeStatus) {
		this.upgradeStatus = upgradeStatus;
	}
}
